package com.meng.demo1.stresstesting;

/**
 * Created with IntelliJ IDEA.
 * Description:
 *
 * @Author: menglinggang
 * @Date: 2020-07-22
 * @Time: 下午1:07
 */
public class CallResult {

    private boolean success ;

    private long holdTime;

    public CallResult(boolean success, long holdTime) {
        this.success = success;
        this.holdTime = holdTime;
    }

    public CallResult(){

    }
    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public long getHoldTime() {
        return holdTime;
    }

    public void setHoldTime(long holdTime) {
        this.holdTime = holdTime;
    }

    @Override
    public String toString() {
        return "CallResult{" +
                "success=" + success +
                ", holdTime=" + holdTime +
                '}';
    }
}
